import type { RouteRecordRaw } from 'vue-router';

const displayZts: any[] = [];
for (let i = 2; i <= 5; i ++) {
  displayZts.push({
    path: 'zutai0' + i,
    name: 'PDisplayZutai0' + i,
    component: () => import('@T2/views/Project/Display/zutai/zutai02/index.vue'),
    meta: {
      title: '大屏--组态0' + i + '按菜单',
    },
  });
}
const routes: Array<RouteRecordRaw> = [
  {
    path: 'statement01',
    name: 'PDisplayStatement01',
    component: () => import('@T2/views/Project/Display/statement/statement01/index.vue'),
    meta: { title: '大屏--运行分析' },
  },
  {
    path: 'home01',
    name: 'PDisplayHome01',
    component: () => import('@T2/views/Project/Display/home/home01/index.vue'),
    meta: { title: '大屏--首页--地图' },
  },
  {
    path: 'home02',
    name: 'PDisplayHome02',
    component: () => import('@T2/views/Project/Display/home/home02/index.vue'),
    meta: { title: '大屏--首页--公厕' },
  },
  {
    path: 'home03',
    name: 'PDisplayHome03',
    component: () => import('@T2/views/Project/Display/home/pxtovw/home03/index.vue'),
    meta: { title: '大屏--首页--海姆' },
  },
  {
    path: 'home04',
    name: 'PDisplayHome04',
    component: () => import('@T2/views/Project/Display/home/pxtovw/home04/index.vue'),
    meta: { title: '大屏--首页--王峰' },
  },
  {
    path: 'home05',
    name: 'PDisplayHome05',
    component: () => import('@T2/views/Project/Display/home/pxtovw/home05/index.vue'),
    meta: { title: '大屏--首页--同研' },
  },
  {
    path: 'home06',
    name: 'PDisplayHome06',
    component: () => import('@T2/views/Project/Display/home/pxtovw/home06/index.vue'),
    meta: { title: '大屏--首页--朱家角' },
  },
  {
    path: 'home07',
    name: 'PDisplayHome07',
    component: () => import('@T2/views/Project/Display/home/pxtovw/home07/index.vue'),
    meta: { title: '大屏--首页--高频' },
  },
  {
    path: 'unit01',
    name: 'PDisplayUnit01',
    component: () => import('@T2/views/Project/Display/unit/unit01/index.vue'),
    meta: { title: '大屏--运行监测' },
  },
  
  {
    path: 'zutai01',
    name: 'PDisplayZutai01',
    component: () => import('@T2/views/Project/Display/zutai/zutai01/index.vue'),
    meta: { title: '大屏--组态监控01--按单体' },
  },
  ...displayZts,
  
];

export default routes;